package com.example.satokendemo.dao;

import com.example.satokendemo.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * TODO
 *
 * @ClassName userMapper
 * @Author xiaojiang
 * @Date 2021/11/19 下午 13:29
 */
@Mapper
@Repository
public interface userMapper {

    List<User> selectAllUser();

    String selectOneUserId(String username,String password);

    String selectOneUserRole(String userid);

    String selectOneUserPopedom(String userid);


}
